/*
 * @Description:
 * @Author: fhw
 * @Date: 2022-11-18 11:13:34
 */
import { forwardRef, Module } from '@nestjs/common';
import { ArticleCommentService } from './article_comment.service';
import { ArticleCommentController } from './article_comment.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CommentList } from './entities/article_comment.entity';
import { ArticleList } from '../article/entities/article.entity';
import { ArticleService } from '../article/article.service';
import { Tags } from '../article_tag/entities/article_tag.entity';
import { ChatUserModule } from 'src/chat_user/chat_user.module';

@Module({
  imports: [TypeOrmModule.forFeature([CommentList, ArticleList, Tags]), forwardRef(() => ChatUserModule)],
  controllers: [ArticleCommentController],
  providers: [ArticleCommentService, ArticleService],
})
export class ArticleCommentModule {}
